import Article from "../../model/Article.ts";


const ArticlePageContainer = (props: {article: Article}) => {

    const {article} = props

    return (
        <div  id="container-notification">

            <div className="row-cols-auto" id="header-article">
                <div>
                    <p className={"mb-0"}>10.11.2001</p>
                </div>
                <h1 id="h1-header-article">{article.title}</h1>
                <p className="headline-small" id="p3-text">
                    {article.subtitle}
                </p>

                <p id={"article-body"} className={"body-small"}>
                    {article.content}

                </p>


            </div>
        </div>
    )
}

export default ArticlePageContainer